home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
tcp
/
AmigaTCP.lha
/
AmigaTCP
/
src
/
mbuf.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-06-24
|
443b
|
13 lines
/* Basic message buffer structure */
struct mbuf {
struct mbuf *next; /* Links mbufs belonging to single packets */
struct mbuf *anext; /* Links packets on queues */
char *data; /* Active working pointers */
int16 cnt;
};
#define NULLBUF (struct mbuf *)NULL
void enqueue(),hexdump(),asciidump();
struct mbuf *alloc_mbuf(),*free_mbuf(),*dequeue(),*copy_p(),*free_p(),*qdata();
int16 pullup(),append(),dup_p(),len_mbuf(),dqdata(),len_q();